package com.icloud.common.web.config;

import com.icloud.common.web.util.TLSSigAPIv2;
import io.github.doocs.im.ImClient;
import org.springframework.context.annotation.Bean;


public abstract class BaseSdkConfig {
    public static final Long IM_SDK_APP_ID = 1721000777L;
    protected static final String IM_TENCENT_KEY = "b4cb453090092119c3bf425dd6adeb3a6f0d8c65f6c99070f60b5529cc36528c";

    // 腾讯IM
    @Bean
    public TLSSigAPIv2 tlsSigAPIv2() {
        return new TLSSigAPIv2(IM_SDK_APP_ID, IM_TENCENT_KEY);
    }



    //腾讯云 IM 服务端 配置
    public static final long appId = 1721000777L;// sdk appId
    public static final String userId = "administrator";//管理员 userId 也即 identifier
    public static final String key = "b4cb453090092119c3bf425dd6adeb3a6f0d8c65f6c99070f60b5529cc36528c";//应用程序 key
    public static final String domain = "adminapisgp.im.qcloud.com";//请求域名

}
